Release 10.1A: OpenEdge Development:
ProDataSets


SYNCHRONIZE event for a ProDataSet buffer

There is also a SYNCHRONIZE event for ProDataSet temp-table buffers, which fires under these conditions:

This event allows the procedure code that responds to the event to display buffer values in a frame or take some other action. The event is set using the same SET-CALLBACK-PROCEDURE method and receives the ProDataSet as INPUT as other events do, as shown

Syntax
buffer-handle:SET-CALLBACK-PROCEDURE("SYNCHRONIZE", event-procedure  
                                     [, procedure-handle ] ) 

The event handler is invoked just before the SYNCHRONIZE behavior occurs, that is, before the current buffer’s child relation queries are re-opened. The handler procedure can RETURN NO-APPLY to cancel the effects of the SYNCHRONIZE in the event that it detects that the synchronization should not occur (to avoid the overhead of opening child queries when this isn’t wanted, for instance).


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095